<?php $this->pageTitle=Yii::app()->name . ' - '.UserModule::t("Restore");
$this->breadcrumbs=array(
	UserModule::t("Login") => array('/user/login'),
	UserModule::t("Restore"),
);
?>

<div class="row">
<div class="span12">
<div style="padding: 10px;">
	<h1><?php echo UserModule::t("Restore"); ?></h1>

	<?php if(Yii::app()->user->hasFlash('recoveryMessage')): ?>
	<div class="success">
	<?php echo Yii::app()->user->getFlash('recoveryMessage'); ?>
	</div>
	<?php else: ?>

	<div class="form">
	<?php echo CHtml::beginForm(); ?>

		<?php echo CHtml::errorSummary($form); ?>
	
			<?php echo CHtml::activeLabel($form,'login_or_email'); ?>
			<?php echo CHtml::activeTextField($form,'login_or_email') ?>
			<p class="hint"><?php echo UserModule::t("Please enter your Username or Email Address."); ?></p>
	
		<div class="submit">
			<?php echo CHtml::submitButton(UserModule::t("Restore")); ?>
		</div>
	<?php echo CHtml::endForm(); ?>
	</div><!-- form -->
	<?php endif; ?>
</div>
</div>
</div>

